<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 27.12.2009
  Time: 18:43:21
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Пользователи</title></head>
<body>
<table border="1">
    <c:forEach items="${groups}" var="group">
        <tr>
            <td>
            	<c:url value="/group/${group.id}/edit" var="url"/>
                <a href="${url}">
                    <c:out value="${group}"/>
                </a>
            </td>
            <td>
                <c:url value="/group/${group.id}/delete" var="url"/>
                <a href="${url}">Удалить</a>
            </td>
        </tr>
    </c:forEach>
</table>
<c:url value="/group/new" var="url"/>
<a href="${url}">Создать новую группу</a>
<c:url value="/user/list" var="url"/>
<a href="${url}">К списку пользователей</a>
</body>
</html>